package com.zhuang.visitor.dynamic_dispatch;

/**
 * @Classname Client
 * @Description 动态分派 测试类
 * @Date 2021/3/27 17:12
 * @Created by dell
 */

public class Client {
    public static void main(String[] args) {
        Animal dog=new Dog();
        dog.excute();
        System.out.println("===============");
        Animal cat=new Cat();
        cat.excute();
    }
}
